Skip to content

New package: jellyfin-tui-1.4.2#60087

Open
xJayMorex wants to merge 1 commit into
void-linux:masterfrom
xJayMorex:jellyfin-tui-1.4.2
Open

New package: jellyfin-tui-1.4.2#60087
xJayMorex wants to merge 1 commit into
void-linux:masterfrom
xJayMorex:jellyfin-tui-1.4.2

Conversation

@xJayMorex
Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64
  • I built this PR locally for these architectures:
    • x86_64-musl
    • aarch64 (crossbuild)

@xJayMorex xJayMorex force-pushed the jellyfin-tui-1.4.2 branch from e175e2a to 46513ed Compare April 21, 2026 20:11
@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Apr 22, 2026
Comment thread srcpkgs/jellyfin-tui/patches/souvlaki.patch Outdated
Comment thread srcpkgs/jellyfin-tui/template Outdated
@xJayMorex xJayMorex force-pushed the jellyfin-tui-1.4.2 branch 2 times, most recently from 728c8a7 to 894a080 Compare April 30, 2026 10:20
Copy link
Copy Markdown
Member

@Duncaen Duncaen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be changed to use cargo command to precisely update specific packages instead of a 769 line patch?

checksum=2ed20b9f8da2f713684e516688fc8f4b688c0ef12540ea8893baedc4cbde9961

if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then
broken="Cannot compile libmpv2-sys on 32-bit systems because of overflow"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is overflow?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error[E0080]: attempt to compute `4_usize - 8_usize`, which would overflow
   --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:677:10
    |
677 |         [::std::mem::align_of::<mpv_node__bindgen_ty_1>() - 8usize];
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `12_usize - 16_usize`, which would overflow
   --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:698:26
    |
698 |     ["Size of mpv_node"][::std::mem::size_of::<mpv_node>() - 16usize];
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `12_usize - 24_usize`, which would overflow
   --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:739:31
    |
739 |     ["Size of mpv_node_list"][::std::mem::size_of::<mpv_node_list>() - 24usize];
    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `8_usize - 16_usize`, which would overflow
   --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:758:32
    |
758 |     ["Size of mpv_byte_array"][::std::mem::size_of::<mpv_byte_array>() - 16usize];
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `12_usize - 24_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1332:36
     |
1332 | ...property"][::std::mem::size_of::<mpv_event_property>() - 24usize];
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `16_usize - 32_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1383:39
     |
1383 | ...essage"][::std::mem::size_of::<mpv_event_log_message>() - 32usize];
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `4_usize - 8_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1429:43
     |
1429 | ...art_file"][::std::mem::align_of::<mpv_event_start_file>() - 8usize];
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `28_usize - 32_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1470:36
     |
1470 | ...end_file"][::std::mem::size_of::<mpv_event_end_file>() - 32usize];
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `8_usize - 16_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1496:10
     |
1496 |         [::std::mem::size_of::<mpv_event_client_message>() - 16usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `12_usize - 16_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1514:32
     |
1514 |     ["Size of mpv_event_hook"][::std::mem::size_of::<mpv_event_hook>() - 16usize];
     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `12_usize - 16_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1531:35
     |
1531 | ..._command"][::std::mem::size_of::<mpv_event_command>() - 16usize];
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `20_usize - 24_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:1583:27
     |
1583 |     ["Size of mpv_event"][::std::mem::size_of::<mpv_event>() - 24usize];
     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `8_usize - 16_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2124:34
     |
2124 |     ["Size of mpv_render_param"][::std::mem::size_of::<mpv_render_param>() - 16usize];
     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `4_usize - 8_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2191:10
     |
2191 |         [::std::mem::align_of::<mpv_render_frame_info>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `8_usize - 16_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2413:40
     |
2413 | ...params"][::std::mem::size_of::<mpv_opengl_init_params>() - 16usize];
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `20_usize - 32_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2461:39
     |
2461 | ...params"][::std::mem::size_of::<mpv_opengl_drm_params>() - 32usize];
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `20_usize - 32_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2516:10
     |
2516 |         [::std::mem::size_of::<mpv_opengl_drm_params_v2>() - 32usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

error[E0080]: attempt to compute `24_usize - 48_usize`, which would overflow
    --> /builddir/jellyfin-tui-1.4.2/target/i686-unknown-linux-gnu/release/build/libmpv2-sys-7c2c108ab10720bc/out/bindings.rs:2624:36
     |
2624 | ..._cb_info"][::std::mem::size_of::<mpv_stream_cb_info>() - 48usize];
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed here

For more information about this error, try `rustc --explain E0080`.
error: could not compile `libmpv2-sys` (lib) due to 18 previous errors
warning: build failed, waiting for other jobs to finish...
=> ERROR: jellyfin-tui-1.4.2_1: do_build: '${make_cmd} build ${XBPS_VERBOSE+${make_verbose}} --release --locked --target ${RUST_TARGET} ${configure_args} ${make_build_args}' exited with 101
=> ERROR:   in do_build() at common/build-style/cargo.sh:9

Copy link
Copy Markdown
Member

@classabbyamp classabbyamp Jun 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
broken="Cannot compile libmpv2-sys on 32-bit systems because of overflow"
broken="overflow in libmpv2-sys bindings"

@xJayMorex xJayMorex force-pushed the jellyfin-tui-1.4.2 branch 3 times, most recently from 1075220 to 6421055 Compare May 9, 2026 19:30
Comment thread srcpkgs/jellyfin-tui/template Outdated
@xJayMorex xJayMorex force-pushed the jellyfin-tui-1.4.2 branch from 6421055 to 737eb04 Compare May 10, 2026 07:20
Comment on lines +21 to +22
cargo remove souvlaki --target 'cfg(target_os = "linux")'
cargo add souvlaki@0.8.3 --target 'cfg(target_os = "linux")'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this not be a single cargo update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants